package com.it.mybatis.service;

import com.it.mybatis.domain.Company;
import com.it.mybatis.model.ApiModel;
import com.it.mybatis.query.CompanyQuery;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface CompanyService {
    ApiModel findBy(CompanyQuery query);

    ApiModel findAll();

    ApiModel deleteById(Integer id);

    ApiModel insertCompany(Company company);
}
